<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>css三大特性之优先级</title>
    <style>
        div {
            color: red;
        }

        .test {
            color: yellowgreen !important;
        }

        body {
            color: hotpink;
        }

        #demo {
            color: cyan;
        }
    </style>
</head>

<body>
    /*注释*/
    <div class="test" id="demo" style="color: blueviolet;">你笑起来真好看</div>
    <a href="#">我是单独的样式</a>
    <div><a href="#">我是单独的样式</a></div>
    <div>
        <ul>
            <li>叠加权重</li>
        </ul>
    </div>

    <ul class="nav">
        <li>人生四大悲</li>
        <li>家里没宽带</li>
        <li>网速不够快</li>
        <li>手机没流量</li>
        <li>学校没wifi</li>
    </ul>


</body>

</html>